URL Manipulation in ZHERO
Master efficient URL management with ZHERO's powerful manipulation features that transform tedious manual tasks into streamlined bulk operations.
Video Tutorial
Overview
ZHERO enhances the standard Zscaler ZIA URL category interface with powerful manipulation capabilities that enable:
- Smart Filtering: Find URLs by standard categories, cloud applications, or text search
- Bulk Operations: Select, copy, move, or delete hundreds of URLs at once
- Category Management: Move or copy URLs between categories with on-the-fly category creation
- External Processing: Export URLs to external tools and reimport selections seamlessly
- Safety Net: All changes queue in pending changes for review before applying
These features transform hours of manual clicking into minutes of efficient bulk operations.
Opening URL Categories
When you open a URL category in ZHERO:
- Navigate to Policy → URL & Cloud App Control (but also in any other place where you can find URL categories)
- Click on any URL category to open the enhanced side drawer
- The drawer displays all URLs and keywords in the category
- If OneAPIs are configured, each URL shows automatic URL lookup information
Configure ONEAPI credentials to unlock automatic URL lookup, showing which standard Zscaler categories and cloud applications each custom URL belongs to. See the ONEAPI Setup Guide for configuration instructions.
Enhanced View Features
The ZHERO-enhanced drawer provides:
- URL Type Indicators: Shows category configuration (e.g., "Retaining parent category")
- Standard Categories: Zscaler's categorization for each URL (via ONEAPI lookup)
- Cloud Applications: Identified SaaS/cloud services
- Policy Impact Badges: Number of policies referencing each URL
- Related URLs: Shows wildcard patterns covering specific URLs (and vice versa)
Filtering URLs
Search by Text
Use the search bar to filter URLs by any text pattern:
Filter by Standard Categories
One of ZHERO's most powerful features for optimization: filter custom URLs by their standard Zscaler categories.
Common use case: Identify redundant URLs already covered by standard category blocks.
Example workflow:
- Open a custom block category (e.g., "Big Block List" with 1,500 URLs)
- Click the filter dropdown in the url lookup column
- Search for categories you already block (e.g., "pornography")
- ZHERO shows only URLs matching that category
- These URLs are redundant - already blocked by your other URL filtering policy based on the category
- Select and delete them to clean up and optimize readability of your configuration
Real-world example: One customer with hundreds of URLs in their block category discovered:
- 63 URLs categorized as "pornography" (already blocked)
- 47 URLs categorized as "anonymizer" (already blocked)
- Total of 110+ redundant URLs safely removed
Filter by Cloud Applications
Filter URLs by recognized cloud applications:
- Open the Cloud Application filter
- Select apps like "Microsoft 365", "Salesforce", "Zoom"
- View all URLs belonging to that cloud service
Use case: Instead of maintaining individual URL exceptions for a cloud app, consider using Zscaler's cloud app exclusion feature for cleaner policy management.
Selecting URLs
Select All
Click the Select All checkbox to select every URL in the current view (respecting active filters).
Select Filtered Results
Combine filtering with selection for powerful workflows:
- Apply filters (e.g., standard category = "pornography")
- Click Select All
- Only filtered URLs are selected
- Perform bulk operations on just those URLs
Select from Paste
The Select from Paste feature enables external processing workflows:
How it works:
- Click Select from Paste button
- Paste a list of URLs (one per line, or comma-separated)
- ZHERO automatically selects only matching URLs from the current category
Workflow example:
- Export 1,500 URLs to clipboard
- Paste into Excel or text editor
- Perform external analysis (scripting, formulas, etc.)
- Identify 200 URLs to remove
- Copy those 200 URLs
- Use "Select from Paste" to select them in ZHERO
- Delete selected URLs in one operation
This bidirectional workflow combines ZHERO's bulk operations with the flexibility of external tools.
Bulk Operations
Copy to Clipboard
Export selected URLs for external analysis:
- Select URLs (all, filtered, or from paste)
- Click Copy to Clipboard
- Choose which columns to export
- Paste into Excel, text editors, scripts, or other tools
Use cases:
- Backup before major changes
- Share URL lists with team members
- Perform external analysis or validation
- Generate documentation or reports
Delete Selected URLs
Remove multiple URLs in one operation:
- Select URLs using any selection method
- Click Delete Selected
- Changes queue in pending changes
- Review and apply when ready
Deletions are queued in pending changes but not applied immediately. Always review pending changes before applying to your ZIA tenant.
Add New URLs
Add URLs directly in the enhanced drawer:
- Click Add URL button
- Enter the URL or FQDN
- Click the manual Lookup button for immediate categorization data
Tip: Add multiple URLs by repeating the process. All additions queue in pending changes together.
Edit URLs
Modify existing URLs with inline editing:
- Click the Edit icon next to any URL
- Modify the URL value
- Save changes
Behind the scenes: Zscaler doesn't support direct URL renaming, so ZHERO handles this by queuing both a delete (old URL) and add (new URL) operation. This abstraction makes "renaming" feel like a single operation while maintaining API compatibility.
Moving and Copying URLs
Moving URLs Between Categories
Reorganize URLs efficiently with ZHERO's move functionality:
Example: Split generic SSL exceptions by vendor
Starting point: One large "SSL Exclude" category with mixed vendors
Goal: Separate categories like "SSL Exclude Microsoft", "SSL Exclude Apple", etc.
Process:
- Open the "SSL Exclude" category
- Search for "microsoft" or "windows" in the search bar
- Select all matching URLs
- Click Move to Category
- Choose existing category or click Create New Category
- Enter details:
- Name: "SSL Exclude Microsoft"
- Description: "Microsoft services requiring SSL bypass"
- URL Type: (select appropriate type)
- Choose Move (removes from source) or Copy (keeps in both)
- Click Apply
- All changes queue in pending changes
Result: URLs are removed from "SSL Exclude" and added to "SSL Exclude Microsoft" (when you apply pending changes).
Copying URLs
Use Copy instead of Move when you want URLs to remain in both categories:
Use case: Create a subset category for specific policy requirements while maintaining the original comprehensive category.
Creating Categories On-the-Fly
The move/copy dialog allows instant category creation:
- During move/copy operation, click Create New Category
- Specify:
- Category Name: Descriptive name
- Description: Purpose and scope
- URL Type:
- Standard (blocks/allows only this category)
- Retaining parent category (inherits parent category behavior)
- ZHERO queues the category creation along with URL moves
This eliminates the need to pre-create categories before reorganization, streamlining the workflow significantly.
Pending Changes Queue
All manipulation operations flow through ZHERO's pending changes system:
How It Works
- Queue Operations: Every add, delete, move, or edit queues a change
- Review: Open pending changes to see all queued modifications
- Preview: See exactly what will change in each category
- Apply Selectively: Apply all changes or specific categories only
- Rollback: Discard pending changes before applying
Pending Changes View
The interface shows:
- Category Name: Which categories will be modified
- Operations: "Add 15 URLs", "Remove 8 URLs", "Create new category"
- Details: Specific URLs affected by each operation
Benefits
- Safety: Review before committing to production
- Batching: Accumulate multiple operations before applying
- Flexibility: Apply some changes while leaving others queued
- Audit Trail: Clear record of what changed and when
Tips & Best Practices
Test Filters Before Deleting
Before deleting URLs based on filters:
- Apply the filter
- Review the filtered results carefully
- Verify they match your expectations
- If unsure, copy to clipboard and review externally
- Only then select and delete
Reorganization Before Deletion
When cleaning up large categories:
- First, move URLs into purpose-specific categories
- Review the new organizational structure
- Only then delete truly redundant URLs
This two-step approach maintains better audit trails and makes it easier to rollback if needed.
Backup Before Bulk Operations
For major reorganizations:
- Select all URLs in critical categories
- Copy to clipboard
- Save to a dated backup file
- Proceed with bulk operations
If something goes wrong, you have a complete backup to restore from.
Incremental Application
Instead of applying hundreds of changes at once:
- Apply changes category by category
- Verify each application succeeded
- Test functionality after each batch
- Proceed incrementally
This approach makes troubleshooting easier if issues arise.
Coordinate with URL Export
Use URL manipulation in combination with URL Export for maximum efficiency:
- Export URLs to Excel for comprehensive analysis
- Identify optimization opportunities in Excel
- Use manipulation features to implement changes
- Export again to verify results
See URL Export to Excel for export capabilities.
Related Features
- URL Inventory: Understand where ZHERO finds URLs across your entire ZIA configuration
- URL Export: Export all URLs to Excel for comprehensive analysis
- URL Analysis & Management Guide: Complete workflow for URL optimization
- ONEAPI Setup: Configure ONEAPI for automatic URL categorization
Next Steps
- Configure ONEAPI for automatic URL lookup capabilities
- Review your custom URL categories for redundant entries
- Reorganize SSL exceptions by vendor or purpose
- Export URLs to Excel for comprehensive documentation
- Establish regular cleanup workflows using filtering and bulk operations